package com.qingyun.pdfservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;


/**
 * <p>
 * 教师课表安排
 * </p>
 *
 * @author your_name
 * @since 2025-08-23
 */
@Data
@TableName("tb_schedule")
public class Schedule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 教师=tb_user.id
     */
    @TableField("teacher_id")
    private Long teacherId;

    @TableField("course_id")
    private Long courseId;

    @TableField("teach_date")
    private LocalDate teachDate;

    @TableField("start_time")
    private LocalTime startTime;

    @TableField("end_time")
    private LocalTime endTime;

    @TableField("place")
    private String place;

    @TableField("note")
    private String note;

    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("updateTime")
    private LocalDateTime updateTime;

    @TableField("student_id")
    private Long studentId;
}
